]> dgit.raspbian.org Git - libseccomp.git/commitdiff
python_single_version_externally_managed
authorKees Cook <kees@debian.org>
Thu, 9 Jul 2026 20:49:20 +0000 (22:49 +0200)
committerFelix Geyer <fgeyer@debian.org>
Thu, 9 Jul 2026 20:49:20 +0000 (22:49 +0200)
Fix building with setuptools instead of distutils.

Gbp-Pq: Name python_single_version_externally_managed.patch

src/python/Makefile.am

index cc98a9114a0eff798c2c131129632807eefb5492..45a315ccf72e987f6f682c36f6f6b810ed3da385 100644 (file)
@@ -41,7 +41,8 @@ build: ../libseccomp.la libseccomp.pxd seccomp.pyx setup.py
 
 install-exec-local: build
        ${PY_INSTALL} --install-lib=${DESTDIR}/${pyexecdir} \
-               --record=${DESTDIR}/${pyexecdir}/install_files.txt
+               --record=${DESTDIR}/${pyexecdir}/install_files.txt \
+               --single-version-externally-managed
 
 uninstall-local:
        cat ${DESTDIR}/${pyexecdir}/install_files.txt | xargs ${RM} -f